<?php
/**
 * Copyright (C) 2013 Pablo Sepúlveda P. <psep.pentauc@gmail.com>
 * 
 * This file is part of gAbstract.
 * WarpIT is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 * 
 * gAbstract is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with gAbstract.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Clase que contiene las constantes para generación de Querys.
 * 
 * @author psep
 * @version 1.0
 * @package gAbstract
 * @copyright Copyright (c) 2013 Pablo Sepúlveda P.
 * @license GNU GPLv3 or later
 * @link http://www.psep.cl
 */
final class SQLTemplate {
	
	/**
	 * Atributo SELECT
	 * 
	 * @var static String
	 */
	public static $SELECT	= "SELECT ";
	
	/**
	 * Atributo UPDATE
	 * 
	 * @var static String
	 */
	public static $UPDATE	= "UPDATE ";
	
	/**
	 * Atributo SET
	 * 
	 * @var static String
	 */
	public static $SET		= " SET ";
	
	/**
	 * Atributo INSERT
	 * 
	 * @var static String
	 */
	public static $INSERT	= "INSERT INTO ";
	
	/**
	 * Atributo DELETE
	 * 
	 * @var static String
	 */
	public static $DELETE	= "DELETE ";
	
	/**
	 * Atributo FROM
	 * 
	 * @var static String
	 */
	public static $FROM		= " FROM ";
	
	/**
	 * Atributo ALLFIELDS (*)
	 * 
	 * @var static String
	 */
	public static $ALLFIELDS= "* ";
	
	/**
	 * Atributo WHERE
	 * 
	 * @var static String
	 */
	public static $WHERE	= " WHERE ";
	
	/**
	 * Atributo AND
	 * 
	 * @var static String
	 */
	public static $AND		= " AND ";
	
	/**
	 * Atributo OR
	 * 
	 * @var static String
	 */
	public static $OR		= " OR ";
	
	/**
	 * Atributo DINSTINCT
	 * 
	 * @var static String
	 */
	public static $DISTINCT	= " DISTINCT ";
	
	/**
	 * Atributo COUNT_ALL - COUNT(*)
	 * 
	 * @var static String
	 */
	public static $COUNTALL	= " COUNT(*) ";
	
	/**
	 * Atributo GROUP BY
	 * 
	 * @var static String
	 */
	public static $GROUPBY	= " GROUP BY ";
	
	/**
	 * Atributo ORDER BY
	 * 
	 * @var static String
	 */
	public static $ORDERBY	= " ORDER BY ";
	
	/**
	 * Atributo ASC
	 * 
	 * @var static String
	 */
	public static $ASC		= " ASC";
	
	/**
	 * Atributo DESC
	 * 
	 * @var static String
	 */
	public static $DESC		= " DESC";
	
	/**
	 * Atributo INNER
	 * 
	 * @var static String
	 */
	public static $INNER	= " INNER ";
	
	/**
	 * Atributo LEFT
	 * 
	 * @var static String
	 */
	public static $LEFT		= " LEFT ";
	
	/**
	 * Atributo JOIN
	 * 
	 * @var static String
	 */
	public static $JOIN		= " JOIN ";
	
	/**
	 * Atributo LIMIT
	 * 
	 * @var static String
	 */
	public static $LIMIT	= " LIMIT ";
	
	/**
	 * Atributo ON
	 * 
	 * @var static String
	 */
	public static $ON		= " ON ";
	

}

?>